/**
 * @author KujoMiva
 * @name getters.js
 * @desc getters
 * @time 2020年04月06日 12:38:21 星期一
 */

const getters = {
    /** @account */
    token: state => state.account.token,
    avatar: state => state.account.avatar,
    nickname: state => state.account.nickname,
    userInfo: state => state.account.userInfo,
    /** @audioPlayer */
    audio: state => state.audio.audio,
    audioStatus: state => state.audio.audioStatus,
    audioVolume: state => state.audio.audioVolume,
    loopModel: state => state.audio.loopModel,
    activeLength: state => state.audio.activeLength,
    buffered: state => state.audio.buffered,
    playListState: state => state.audio.playListState,
    playList: state => state.audio.playList,
    nowPlay: state => state.audio.nowPlay,
};

export default getters;
